package com.wechat.admin.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.wechat.admin.model.entity.WeUserGroup;
import com.wechat.admin.model.request.AddUserToGroupRequest;
import com.wechat.admin.model.request.GetUserAndDeviceInfoRequest;
import com.wechat.admin.model.request.UserGroupAddRequest;
import com.wechat.admin.model.vo.UserAndDeviceVo;

/**
* @author dell
* @description 针对表【we_user_group】的数据库操作Service
* @createDate 2024-12-15 10:22:51
*/
public interface WeUserGroupService extends IService<WeUserGroup> {


    /**
     * 创建分组
     * @param userGroupAddRequest
     * @return
     */
    Boolean createUserGroup(UserGroupAddRequest userGroupAddRequest);


    /**
     * 添加组员到分组中
     * @param addUserToGroupRequest
     * @return
     */
    Boolean addUserToGroup(AddUserToGroupRequest addUserToGroupRequest);

    /**
     * 管理员分页获取组下的用户及设备信息
     * @param getUserAndDeviceInfoRequest
     * @return
     */
    UserAndDeviceVo getUserAndDevice(GetUserAndDeviceInfoRequest getUserAndDeviceInfoRequest);

}
